package com.xdcplus.web.mapper.task;

import com.xdcplus.mp.mapper.IBaseMapper;
import com.xdcplus.web.common.pojo.entity.task.JobTaskSwys;
import com.xdcplus.web.common.pojo.query.task.JobTaskSwysQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 丝印岗位任务(JobTaskSwys)表数据库访问层
 *
 * @author Richard.Li
 * @since 2024-06-19 09:11:05
 */
public interface JobTaskSwysMapper extends IBaseMapper<JobTaskSwys> {

    /**
     * 查询丝印岗位任务(JobTaskSwys)
     *
     * @param jobTaskSwysQuery 丝印岗位任务(JobTaskSwys)查询
     * @return {@link List<JobTaskSwys>}
     */
    List<JobTaskSwys> queryJobTaskSwys(JobTaskSwysQuery jobTaskSwysQuery);

    List<JobTaskSwys> queryJobTaskSwysByToolName(JobTaskSwysQuery jobTaskSwysQuery);

    JobTaskSwys queryLastJobTaskSwysByAlarmCode(@Param("lineCode") String lineCode,@Param("alarmCode") String alarmCode,@Param("status") String status);
}
